package com.mybatis.jpa.type;

/**
 * mapper中method类型定义</br>
 * 需按照以下常量开头定义methodName,如:updateSelectiveByPrimaryKeyNotNull。
 *
 * @author svili
 * @data 2017年5月8日
 *
 */
public class MethodConstants {

	/** insert非空字段 */
	public static final String INSERT_SELECTIVE = "insertSelective";

	public static final String INSERT = "insertJpa";

	public static final String BATCH_INSERT = "batchInsert";

	public static final String DELETE = "delete";

	public static final String UPDATE_SELECTIVE = "updateSelective";

	public static final String UPDATE = "update";

	public static final String BATCH_UPDATE = "batchUpdate";

	public static final String BATCH_UPDATE_INCLUDE_NULL = "batchUpdateIncludeNull";


	public static final String UPDATE_ADVANCE = "updateByAdvance";

	public static final String SELECT_PAGE = "selectPage";

	public static final String SELECT_COUNT = "selectCount";

	public static final String SELECT = "select";

	public static final String SELECT_BEAN = "selectBean";

	public static final String SELECT_ADVANCE = "selectAdvance";

	public static final String SELECT_COUNT_ADVANCE = "selectCountAdvance";

	public static final String DELETE_BEAN = "deleteBean";

	public static final String SELECT_NESTED = "selectNested";

	public static final String SELECT_NESTED_FOR_ORDER = "selectNestedForOrder";


	public static final String SELECT_PAGE_FOR_ORDER = "selectPageForOrder";

	public static final String SELECT_BY_IDS = "selectByIds";
}
